All Questions
Tagged with hashingdesign-patterns
3 questions
3votes
1answer
3kviews
Where and how to handle user password hashing in Clean Architecture?
I'm currently building a new application and trying to apply some of the principles of Clean Architecture. One of my first roadblocks is implementing my own Identity system (to avoid being tightly ...
-3votes
2answers
542views
How do you hash 4 doubles into a size_t?
I have bounding boxes the key type. Box { double mins[2]; double maxs[2]; } And I want to have Box as the key type in the D programming language, so I have to implement: size_t toHash() const @...
0votes
1answer
466views
Is there any design pattern to remove elements from a hash map?
In my application I keep track of the running threads via a hash map, in that way I can retrieve the correct thread and do any actions. The app evolved in a way that new threads are created and old ...